package com.easy.merchants.pojo.dto;

import com.easy.merchants.pojo.HouseFacility;
import com.easy.merchants.pojo.HouseImg;
import com.easy.merchants.pojo.HouseInformation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 房子信息 dto
 *
 * @author RuoYu
 * @date 2022/12/07
 */

@ApiModel("房子信息 dto")
public class HouseDto extends HouseInformation {

    @ApiModelProperty("房屋图片")
//    private List<HouseImg> houseImg = new ArrayList<>();
    private HouseImg houseImg;
    @ApiModelProperty("房屋设施数据")
//    private List<HouseFacility> houseFacilities = new ArrayList<>();
    private HouseFacility houseFacilities;

    @ApiModelProperty("类别名称")
    private String categoryName;

    public HouseImg getHouseImg() {
        return houseImg;
    }

    public void setHouseImg(HouseImg houseImg) {
        this.houseImg = houseImg;
    }

    public HouseFacility getHouseFacilities() {
        return houseFacilities;
    }

    public void setHouseFacilities(HouseFacility houseFacilities) {
        this.houseFacilities = houseFacilities;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    @Override
    public String toString() {
        return "HouseDto{" +
                "houseImg=" + houseImg +
                ", houseFacilities=" + houseFacilities +
                ", categoryName='" + categoryName + '\'' +
                '}';
    }
}
